/*
 * Output.h
 *
 *  Created on: 2012. 11. 4.
 *      Author: dalxx
 */

#include "PLCConfig.h"
#include "Relay.h"
#ifndef OUTPUT_H_
#define OUTPUT_H_

namespace PLCLib {

class Output {
protected:
	char* name;
	int outport;
	Relay* relay;

public:
	Output(char* _name, int port, Relay* _relay);
	virtual ~Output();

	void WriteStatus(Stream& stream);
	void Out();

};



} /* namespace PLCLib */
#endif /* OUTPUT_H_ */
